/**
  * 统一的表单样式
  * 参考自uniform
  */
.sform {margin:0px; padding:0px;}

.sform .field,
.sform .button {padding:10px; clear:both;}

/* 聚焦 */
.sform .focus {background-color:#C9FF93;}
.sform .focus label {font-weight:bold;}
.sform .focus .tips {color:#555;}



/* 清除浮动 */
.sform:after,
.sform .field:after,
.sform .button:after {content:"."; display:block; height:0; line-height:0; font-size:0; clear:both; min-height:0; visibility:hidden;}
/* hack for ie6 */
* html .sform .field {height:1%;}



.sform .textput,
.sform .fileput,
.sform .selectput,
.sform select,
.sform textarea {float:left; width:53%; margin:0; line-height:150%;}

.sform ul {float:left; width:53%;}
.sform ul li {margin:0 0 .5em 0;}
.sform ul li label {margin:0; float:none; display:block; overflow:visible;}


/* Title */
.sform label,
.sform .label{display:block; float:none; margin:0 0 5px 0;}

.sform .inline label,
.sform .inline .label{float:left; margin:3px 1% 0 0; padding:0; position:relative; width:26%;}


/* 相关 */
.sform .tips{float:right; width:40%; clear:none; font-size:12px; color:#888;}
.sform .alert {float:left; padding-left:20px; clear:none; color:red;}
.sform label.error {color:red;}